﻿using System;
namespace UnlessComment.Model
{
    /// <summary>
    /// User:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class User
    {
        public User()
        { }
        #region Model
        private int _id;
        private string _username;
        private string _email;
        private string _password;
        private bool _is_active;
        private DateTime? _date_join;
        private DateTime? _last_login;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool is_active
        {
            set { _is_active = value; }
            get { return _is_active; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? date_join
        {
            set { _date_join = value; }
            get { return _date_join; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? last_login
        {
            set { _last_login = value; }
            get { return _last_login; }
        }
        #endregion Model

    }
}

